export interface Iadduser {
      user_name: string
      user_pwd: string
      identity_id?: string
}

export interface Iidentity {
      identity_id: string,
      identity_text: string
}


export interface Iuserinfo {    //用户信息
      user_name: string,
      user_pwd: string,
      user_id: string,
      avatar: string,
      identity_text: string
}

export interface Iputuser {
      user_id: string
      user_name?: string
      user_pwd?: string
      identity_id?: string
      avatar?: string
}

export interface Iaddidentity {   //更新身份的  餐宿
      identity_text: string
}


export interface Iapi {  //设置api的 接口参数
      api_authority_text: string
      api_authority_url: string
      api_authority_method: string
}


export interface Iapilist {    //api接口数据约束

      api_authority_id: string
      api_authority_text: string
      api_authority_url: string
      api_authority_method: string
}

export interface IsetIdentityApi{  //给身份设置api接口权限
      identity_id:string
      api_authority_id:string
}


export interface Iviewlist{   //视图权限数据

            view_authority_id:string
            view_authority_text:string
            view_id:string
 
}
export interface Iviewlist{   //身份设置视图权限   参数

      view_authority_id:string
      identity_id:string

}


export interface Iapiidentity{  //身份和api  数据
    
      identity_api_authority_relation_id:string
      identity_text:string
      api_authority_text: string
      api_authority_url: string
      api_authority_method: string
}

export interface Iidentityview{  //身份和视图 数据
      identity_view_authority_relation_id:string
      identity_text:string
      view_authority_text:string
      view_id:string
}

export interface IAddAuthorityView{
      view_authority_text:string;
      view_id:string;
  }
